<h1>Users List</h1>
<table>
  <thead>
    <tr>
      <th>Iduser</th>
      <th>Name</th>
      <th>Username</th>
      <th>Password</th>
      <th>Email</th>
      <th>Admin</th>
      <th>Regdate</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($Users as $User): ?>
    <tr>
      <td><a href="<?php echo url_for('user/show?iduser='.$User->getIduser()) ?>"><?php echo $User->getIduser() ?></a></td>
      <td><?php echo $User->getName() ?></td>
      <td><?php echo $User->getUsername() ?></td>
      <td><?php echo $User->getPassword() ?></td>
      <td><?php echo $User->getEmail() ?></td>
      <td><?php echo $User->getAdmin() ?></td>
      <td><?php echo $User->getRegdate() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('user/new') ?>">New</a>
